using System.ComponentModel.DataAnnotations;

namespace UpdaterManagement.Models
{
    public class Enterprise
    {
        public int Id { get; set; }
        
        [Required]
        public string Code { get; set; } = "";
        
        [Required]
        public string ErpNumber { get; set; } = "";
        
        [Required]
        public string Name { get; set; } = "";
        
        [Required]
        public string Manager { get; set; } = "";
        
        public string? Description { get; set; }
        
        public DateTime CreatedTime { get; set; } = DateTime.Now;
        
        public bool IsActive { get; set; } = true;
    }
}